package com.ruoyi.wifiauth.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import com.ruoyi.common.core.web.domain.AjaxResult;

@FeignClient(contextId = "advertisementClient", name = "ruoyi-advertisement", path = "/strategy")
public interface AdvertisementClient {

    @GetMapping("/enabled")
    AjaxResult getEnabledStrategies();

    @GetMapping("/device/{deviceId}")
    AjaxResult getStrategyByDevice(@RequestParam("deviceId") String deviceId);
} 